#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

#include "GUIWidget/BaseWidgets/FramelessWidget.h"
#include "GUIWidget/LoginWidget/LoginWidget.h"
#include "GUIWidget/BaseWidgets/BaseDialog.h"


namespace UserManagementSystem{

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    //绘制事件，绘制为灰色
    virtual void paintEvent(QPaintEvent *event)override;




private:
    ///@brief 登录窗口
    UserManagementSystem::LoginWidget* m_loginWidget=nullptr;

    ///@brief 用于测试的无边框窗口基类
    UserManagementSystem::FramelessWidget* m_framelessWidget=nullptr;

    ///@brief 弹窗
    UserManagementSystem::BaseDialog* m_dialog=nullptr;

};

}

#endif // WIDGET_H
